export default {
	data() {
		return {
			//默认的全局分享
			share: {
				title: '润泽无忧家',
				path: '',
				imageUrl: ''   // 全局分享的图片(可本地可网络)
			}
		}
	},
	//定义全局分享
	//1.发送给朋友
	onShareAppMessage(res) {
		return {
			title: this.share.title,
			path: this.share.path,
			imageUrl: this.share.imageUrl
		}
	},
	//2.发送到朋友圈
	onShareTimeline(res) {
		return {
			title: this.share.title,
			path: this.share.path,
			imageUrl: this.share.imageUrl
		}
	},
}